
package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@ApiModel("用户创建群组")
public class UserCreationGroupDTO {

    private String url;

    @NotNull(message = "群名称不能为空")
    @Size(min = 1,max = 15,message = "群名在1-15个字区间")
    private String groupName;

}
